home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / macros / latex209 / contrib / ps-latex / ps-lplain.tex < prev   
Text File  |  1990-10-01  |  46KB  |  1,309 lines

  1. % File PS-LPLAIN, created 19th September 1988 from
  2. % File LPLAIN - Created 29 October 1985 from plain version 1.5CM
  3. %
  4. % This is the PS-LaTeX (PostScript-LaTeX) version of the plain TeX format 
  5. % that's described in The TeXbook.  All modifications can be found by searching 
  6. % for the words 'LaTeX' or 'PS-LaTeX'.
  7. % N.B.: A version number is defined at the very end of this file;
  8. %       please change that number whenever the file is modified!
  9. % And don't modify the file under any circumstances.
  10.  
  11. \catcode`\{=1 % left brace is begin-group character
  12. \catcode`\}=2 % right brace is end-group character
  13. \catcode`\$=3 % dollar sign is math shift
  14. \catcode`\&=4 % ampersand is alignment tab
  15. \catcode`\#=6 % hash mark is macro parameter character
  16. \catcode`\^=7 \catcode`\^^K=7 % circumflex and uparrow are for superscripts
  17. \catcode`\_=8 \catcode`\^^A=8 % underline and downarrow are for subscripts
  18. \catcode`\^^I=10 % ascii tab is a blank space
  19. \chardef\active=13 \catcode`\~=\active % tilde is active
  20. \catcode`\^^L=\active \outer\def^^L{\par} % ascii form-feed is "\outer\par"
  21.  
  22. \message{Preloading the plain format: codes,}
  23.  
  24. % We had to define the \catcodes right away, before the message line,
  25. % since \message uses the { and } characters.
  26. % When INITEX (the TeX initializer) starts up,
  27. % it has defined the following \catcode values:
  28. % \catcode`\^^@=9 % ascii null is ignored
  29. % \catcode`\^^M=5 % ascii return is end-line
  30. % \catcode`\\=0 % backslash is TeX escape character
  31. % \catcode`\%=14 % percent sign is comment character
  32. % \catcode`\ =10 % ascii space is blank space
  33. % \catcode`\^^?=15 % ascii delete is invalid
  34. % \catcode`\A=11 ... \catcode`\Z=11 % uppercase letters
  35. % \catcode`\a=11 ... \catcode`\z=11 % lowercase letters
  36. % all others are type 12 (other)
  37.  
  38. % Here is a list of the characters that have been specially catcoded:
  39. \def\dospecials{\do\ \do\\\do\{\do\}\do\$\do\&%
  40.   \do\#\do\^\do\^^K\do\_\do\^^A\do\%\do\~}
  41. % (not counting ascii null, tab, linefeed, formfeed, return, delete)
  42. % Each symbol in the list is preceded by \do, which can be defined
  43. % if you want to do something to every item in the list.
  44.  
  45. % We make @ signs act like letters, temporarily, to avoid conflict
  46. % between user names and internal control sequences of plain format.
  47. \catcode`@=11
  48.  
  49. % INITEX sets up \mathcode x=x, for x=0..127, except that
  50. % \mathcode x=x+"7100, for x = `A to `Z and `a to `z;
  51. % \mathcode x=x+"7000, for x = `0 to `9.
  52. % The following changes define internal codes as recommended
  53. % in Appendix C of The TeXbook:
  54. \mathcode`\^^@="2201 % \cdot
  55. \mathcode`\^^A="3223 % \downarrow
  56. \mathcode`\^^B="010B % \alpha
  57. \mathcode`\^^C="010C % \beta
  58. \mathcode`\^^D="225E % \land
  59. \mathcode`\^^E="023A % \lnot
  60. \mathcode`\^^F="3232 % \in
  61. \mathcode`\^^G="0119 % \pi
  62. \mathcode`\^^H="0115 % \lambda
  63. \mathcode`\^^I="010D % \gamma
  64. \mathcode`\^^J="010E % \delta
  65. \mathcode`\^^K="3222 % \uparrow
  66. \mathcode`\^^L="2206 % \pm
  67. \mathcode`\^^M="2208 % \oplus
  68. \mathcode`\^^N="0231 % \infty
  69. \mathcode`\^^O="0140 % \partial
  70. \mathcode`\^^P="321A % \subset
  71. \mathcode`\^^Q="321B % \supset
  72. \mathcode`\^^R="225C % \cap
  73. \mathcode`\^^S="225B % \cup
  74. \mathcode`\^^T="0238 % \forall
  75. \mathcode`\^^U="0239 % \exists
  76. \mathcode`\^^V="220A % \otimes
  77. \mathcode`\^^W="3224 % \leftrightarrow
  78. \mathcode`\^^X="3220 % \leftarrow
  79. \mathcode`\^^Y="3221 % \rightarrow
  80. \mathcode`\^^Z="8000 % \ne
  81. \mathcode`\^^[="2205 % \diamond
  82. \mathcode`\^^\="3214 % \le
  83. \mathcode`\^^]="3215 % \ge
  84. \mathcode`\^^^="3211 % \equiv
  85. \mathcode`\^^_="225F % \lor
  86. \mathcode`\ ="8000 % \space
  87. \mathcode`\!="5021
  88. \mathcode`\'="8000 % ^\prime
  89. \mathcode`\(="4028
  90. \mathcode`\)="5029
  91. \mathcode`\*="2203 % \ast
  92. \mathcode`\+="202B
  93. \mathcode`\,="613B
  94. \mathcode`\-="2200
  95. \mathcode`\.="013A
  96. \mathcode`\/="013D
  97. \mathcode`\:="303A
  98. \mathcode`\;="603B
  99. \mathcode`\<="313C
  100. \mathcode`\=="303D
  101. \mathcode`\>="313E
  102. \mathcode`\?="503F
  103. \mathcode`\[="405B
  104. \mathcode`\\="026E % \backslash
  105. \mathcode`\]="505D
  106. \mathcode`\_="8000 % \_
  107. \mathcode`\{="4266
  108. \mathcode`\|="026A
  109. \mathcode`\}="5267
  110. \mathcode`\^^?="1273 % \smallint
  111.  
  112. % INITEX sets \uccode`x=`X and \uccode `X=`X for all letters x,
  113. % and \lccode`x=`x, \lccode`X=`x; all other values are zero.
  114. % No changes to those tables are needed in plain TeX format.
  115.  
  116. % INITEX sets \sfcode x=1000 for all x, except that \sfcode`X=999
  117. % for uppercase letters. The following changes are needed:
  118. \sfcode`\)=0 \sfcode`\'=0 \sfcode`\]=0
  119. % The \nonfrenchspacing macro will make further changes to \sfcode values.
  120.  
  121. % Finally, INITEX sets all \delcode values to -1, except \delcode`.=0
  122. \delcode`\(="028300
  123. \delcode`\)="029301
  124. \delcode`\[="05B302
  125. \delcode`\]="05D303
  126. \delcode`\<="26830A
  127. \delcode`\>="26930B
  128. \delcode`\/="02F30E
  129. \delcode`\|="26A30C
  130. \delcode`\\="26E30F
  131. % N.B. { and } should NOT get delcodes; otherwise parameter grouping fails!
  132.  
  133. % To make the plain macros more efficient in time and space,
  134. % several constant values are declared here as control sequences.
  135. % If they were changed, anything could happen; so they are private symbols.
  136. \chardef\@ne=1
  137. \chardef\tw@=2
  138. \chardef\thr@@=3
  139. \chardef\sixt@@n=16
  140. \chardef\@cclv=255
  141. \mathchardef\@cclvi=256
  142. \mathchardef\@m=1000
  143. \mathchardef\@M=10000
  144. \mathchardef\@MM=20000
  145.  
  146. % Allocation of registers
  147.  
  148. % Here are macros for the automatic allocation of \count, \box, \dimen,
  149. % \skip, \muskip, and \toks registers, as well as \read and \write
  150. % stream numbers, \fam codes, and \insert numbers.
  151.  
  152. \message{registers,}
  153.  
  154. % When a register is used only temporarily, it need not be allocated;
  155. % grouping can be used, making the value previously in the register return
  156. % after the close of the group.  The main use of these macros is for
  157. % registers that are defined by one macro and used by others, possibly at
  158. % different nesting levels.  All such registers should be defined through
  159. % these macros; otherwise conflicts may occur, especially when two or more
  160. % more macro packages are being used at once.
  161.  
  162. % The following counters are reserved:
  163. %   0 to 9  page numbering
  164. %       10  count allocation
  165. %       11  dimen allocation
  166. %       12  skip allocation
  167. %       13  muskip allocation
  168. %       14  box allocation
  169. %       15  toks allocation
  170. %       16  read file allocation
  171. %       17  write file allocation
  172. %       18  math family allocation
  173. %       19  insert allocation
  174. %       20  the most recently allocated number
  175. %       21  constant -1
  176. % New counters are allocated starting with 22, 23, etc.  Other registers are
  177. % allocated starting with 10.  This leaves 0 through 9 for the user to play
  178. % with safely, except that counts 0 to 9 are considered to be the page and
  179. % subpage numbers (since they are displayed during output). In this scheme,
  180. % \count 10 always contains the number of the highest-numbered counter that
  181. % has been allocated, \count 14 the highest-numbered box, etc.
  182. % Inserts are given numbers 254, 253, etc., since they require a \count,
  183. % \dimen, \skip, and \box all with the same number; \count 19 contains the
  184. % lowest-numbered insert that has been allocated. Of course, \box255 is
  185. % reserved for \output; \count255, \dimen255, and \skip255 can be used freely.
  186.  
  187. % It is recommends that macro designers always use
  188. % \global assignments with respect to registers numbered 1, 3, 5, 7, 9, and
  189. % always non-\global assignments with respect to registers 0, 2, 4, 6, 8, 255.
  190. % This will prevent ``save stack buildup'' that might otherwise occur.
  191.  
  192. \count10=21 % allocates \count registers 22, 23, ...
  193. \count11=9 % allocates \dimen registers 10, 11, ...
  194. \count12=9 % allocates \skip registers 10, 11, ...
  195. \count13=9 % allocates \muskip registers 10, 11, ...
  196. \count14=9 % allocates \box registers 10, 11, ...
  197. \count15=9 % allocates \toks registers 10, 11, ...
  198. \count16=-1 % allocates input streams 0, 1, ...
  199. \count17=-1 % allocates output streams 0, 1, ...
  200. \count18=3 % allocates math families 4, 5, ...
  201. \count19=255 % allocates insertions 254, 253, ...
  202. \countdef\insc@unt=19 % the insertion counter
  203. \countdef\allocationnumber=20 % the most recent allocation
  204. \countdef\m@ne=21 \m@ne=-1 % a handy constant
  205. \def\wlog{\immediate\write\m@ne} % write on log file (only)
  206.  
  207. % Here are abbreviations for the names of scratch registers
  208. % that don't need to be allocated.
  209.  
  210. \countdef\count@=255
  211. \dimendef\dimen@=0
  212. \dimendef\dimen@i=1 % global only
  213. \dimendef\dimen@ii=2
  214. \skipdef\skip@=0
  215. \toksdef\toks@=0
  216.  
  217. % Now, we define \newcount, \newbox, etc. so that you can say \newcount\foo
  218. % and \foo will be defined (with \countdef) to be the next counter.
  219. % To find out which counter \foo is, you can look at \allocationnumber.
  220. % Since there's no \boxdef command, \chardef is used to define a \newbox,
  221. % \newinsert, \newfam, and so on.
  222.  
  223. \outer\def\newcount{\alloc@0\count\countdef\insc@unt}
  224. \outer\def\newdimen{\alloc@1\dimen\dimendef\insc@unt}
  225. \outer\def\newskip{\alloc@2\skip\skipdef\insc@unt}
  226. \outer\def\newmuskip{\alloc@3\muskip\muskipdef\@cclvi}
  227. \outer\def\newbox{\alloc@4\box\chardef\insc@unt}
  228. \let\newtoks=\relax % we do this to allow plain.tex to be read in twice
  229. \outer\def\newhelp#1#2{\newtoks#1#1\expandafter{\csname#2\endcsname}}
  230. \outer\def\newtoks{\alloc@5\toks\toksdef\@cclvi}
  231. \outer\def\newread{\alloc@6\read\chardef\sixt@@n}
  232. \outer\def\newwrite{\alloc@7\write\chardef\sixt@@n}
  233. \outer\def\newfam{\alloc@8\fam\chardef\sixt@@n}
  234. \def\alloc@#1#2#3#4#5{\global\advance\count1#1by\@ne
  235.   \ch@ck#1#4#2% make sure there's still room
  236.   \allocationnumber=\count1#1%
  237.   \global#3#5=\allocationnumber
  238.   \wlog{\string#5=\string#2\the\allocationnumber}}
  239. \outer\def\newinsert#1{\global\advance\insc@unt by\m@ne
  240.   \ch@ck0\insc@unt\count
  241.   \ch@ck1\insc@unt\dimen
  242.   \ch@ck2\insc@unt\skip
  243.   \ch@ck4\insc@unt\box
  244.   \allocationnumber=\insc@unt
  245.   \global\chardef#1=\allocationnumber
  246.   \wlog{\string#1=\string\insert\the\allocationnumber}}
  247. \def\ch@ck#1#2#3{\ifnum\count1#1<#2%
  248.   \else\errmessage{No room for a new #3}\fi}
  249.  
  250. % Here are some examples of allocation.
  251. \newdimen\maxdimen \maxdimen=16383.99999pt % the largest legal <dimen>
  252. \newskip\hideskip \hideskip=-1000pt plus 1fill % negative but can grow
  253.  
  254. % LaTeX change: the PLAIN \centering dimension conflicts with
  255. % LaTeX's \centering command, so it is redefined to \@centering.
  256. % This dimension is used by LaTeX.
  257.  
  258. \newskip\@centering \@centering=0pt plus 1000pt minus 1000pt
  259.  
  260. \newdimen\p@ \p@=1pt % this saves macro space and time
  261. \newdimen\z@ \z@=0pt % can be used both for 0pt and 0
  262. \newskip\z@skip \z@skip=0pt plus0pt minus0pt
  263. \newbox\voidb@x % permanently void box register
  264.  
  265. % And here's a different sort of allocation:
  266. % For example, \newif\iffoo creates \footrue, \foofalse to go with \iffoo.
  267. \outer\def\newif#1{\count@\escapechar \escapechar\m@ne
  268.   \expandafter\expandafter\expandafter
  269.    \edef\@if#1{true}{\let\noexpand#1=\noexpand\iftrue}%
  270.   \expandafter\expandafter\expandafter
  271.    \edef\@if#1{false}{\let\noexpand#1=\noexpand\iffalse}%
  272.   \@if#1{false}\escapechar\count@} % the condition starts out false
  273. \def\@if#1#2{\csname\expandafter\if@\string#1#2\endcsname}
  274. {\uccode`1=`i \uccode`2=`f \uppercase{\gdef\if@12{}}} % `if' is required
  275.  
  276. % Assign initial values to TeX's parameters
  277.  
  278. \message{parameters,}
  279.  
  280. % All of TeX's numeric parameters are listed here,
  281. % but the code is commented out if no special value needs to be set.
  282. % INITEX makes all parameters zero except where noted.
  283.  
  284. \pretolerance=100
  285. \tolerance=200 % INITEX sets this to 10000
  286. \hbadness=1000
  287. \vbadness=1000
  288. \linepenalty=10
  289. \hyphenpenalty=50
  290. \exhyphenpenalty=50
  291. \binoppenalty=700
  292. \relpenalty=500
  293. \clubpenalty=150
  294. \widowpenalty=150
  295. \displaywidowpenalty=50
  296. \brokenpenalty=100
  297. \predisplaypenalty=10000
  298. % \postdisplaypenalty=0
  299. % \interlinepenalty=0
  300. % \floatingpenalty=0, set during \insert
  301. % \outputpenalty=0, set before TeX enters \output
  302. \doublehyphendemerits=10000
  303. \finalhyphendemerits=5000
  304. \adjdemerits=10000
  305. % \looseness=0, cleared by TeX after each paragraph
  306. % \pausing=0
  307. % \tracingonline=0
  308. % \tracingmacros=0
  309. % \tracingstats=0
  310. % \tracingparagraphs=0
  311. % \tracingpages=0
  312. % \tracingoutput=0
  313. \tracinglostchars=1
  314. % \tracingcommands=0
  315. % \tracingrestores=0
  316. \uchyph=1
  317. % \globaldefs=0
  318. % \maxdeadcycles=25 % INITEX does this
  319. % \hangafter=1 % INITEX does this, also TeX after each paragraph
  320. % \fam=0
  321. % \mag=1000 % INITEX does this
  322. % \escapechar=`\\ % INITEX does this
  323. \defaulthyphenchar=`\-
  324. \defaultskewchar=-1
  325. % \endlinechar=`\^^M % INITEX does this
  326. \newlinechar=-1
  327. \delimiterfactor=901
  328. % \time=now % TeX does this at beginning of job
  329. % \day=now % TeX does this at beginning of job
  330. % \month=now % TeX does this at beginning of job
  331. % \year=now % TeX does this at beginning of job
  332. \showboxbreadth=5
  333. \showboxdepth=3
  334.  
  335. \hfuzz=0.1pt
  336. \vfuzz=0.1pt
  337. \overfullrule=5pt
  338. \hsize=6.5in
  339. \vsize=8.9in
  340. \maxdepth=4pt
  341. \splitmaxdepth=\maxdimen
  342. \boxmaxdepth=\maxdimen
  343. % \lineskiplimit=0pt, changed by \normalbaselines
  344. \delimitershortfall=5pt
  345. \nulldelimiterspace=1.2pt
  346. \scriptspace=0.5pt
  347. % \mathsurround=0pt
  348. % \predisplaysize=0pt, set before TeX enters $$
  349. % \displaywidth=0pt, set before TeX enters $$
  350. % \displayindent=0pt, set before TeX enters $$
  351. \parindent=20pt
  352. % \hangindent=0pt, zeroed by TeX after each paragraph
  353. % \hoffset=0pt
  354. % \voffset=0pt
  355.  
  356. % \baselineskip=0pt, changed by \normalbaselines
  357. % \lineskip=0pt, changed by \normalbaselines
  358. \parskip=0pt plus 1pt
  359. \abovedisplayskip=12pt plus 3pt minus 9pt
  360. \abovedisplayshortskip=0pt plus 3pt
  361. \belowdisplayskip=12pt plus 3pt minus 9pt
  362. \belowdisplayshortskip=7pt plus 3pt minus 4pt
  363. % \leftskip=0pt
  364. % \rightskip=0pt
  365. \topskip=10pt
  366. \splittopskip=10pt
  367. % \tabskip=0pt
  368. % \spaceskip=0pt
  369. % \xspaceskip=0pt
  370. \parfillskip=0pt plus 1fil
  371.  
  372. \thinmuskip=3mu
  373. \medmuskip=4mu plus 2mu minus 4mu
  374. \thickmuskip=5mu plus 5mu
  375.  
  376. % We also define special registers that function like parameters:
  377. \newskip\smallskipamount \smallskipamount=3pt plus 1pt minus 1pt
  378. \newskip\medskipamount \medskipamount=6pt plus 2pt minus 2pt
  379. \newskip\bigskipamount \bigskipamount=12pt plus 4pt minus 4pt
  380. \newskip\normalbaselineskip \normalbaselineskip=12pt
  381. \newskip\normallineskip \normallineskip=1pt
  382. \newdimen\normallineskiplimit \normallineskiplimit=0pt
  383. \newdimen\jot \jot=3pt
  384. \newcount\interdisplaylinepenalty \interdisplaylinepenalty=100
  385. \newcount\interfootnotelinepenalty \interfootnotelinepenalty=100
  386.  
  387. % Definitions for preloaded fonts
  388.  
  389. \def\magstephalf{1095 }
  390. \def\magstep#1{\ifcase#1 \@m\or 1200\or 1440\or 1728\or 2074\or 2488\fi\relax}
  391.  
  392. % Fonts assigned to \preloaded are not part of "plain TeX",
  393. % but they are preloaded so that other format packages can use them.
  394. % For example, if another set of macros says "\font\ninerm=cmr9",
  395. % TeX will not have to reload the font metric information for cmr9.
  396.  
  397. % PS-LaTeX font definitions are taken from the file PSLFONTS.TEX,
  398. % so all of PLAIN's font definitions are commented out.
  399.  
  400. %\message{fonts,}
  401. %
  402. %\font\tenrm=cmr10 % roman text
  403. %\font\preloaded=cmr9
  404. %\font\preloaded=cmr8
  405. %\font\sevenrm=cmr7
  406. %\font\preloaded=cmr6
  407. %\font\fiverm=cmr5
  408. %
  409. %\font\teni=cmmi10 % math italic
  410. %\font\preloaded=cmmi9
  411. %\font\preloaded=cmmi8
  412. %\font\seveni=cmmi7
  413. %\font\preloaded=cmmi6
  414. %\font\fivei=cmmi5
  415. %
  416. %\font\tensy=cmsy10 % math symbols
  417. %\font\preloaded=cmsy9
  418. %\font\preloaded=cmsy8
  419. %\font\sevensy=cmsy7
  420. %\font\preloaded=cmsy6
  421. %\font\fivesy=cmsy5
  422. %
  423. %\font\tenex=cmex10 % math extension
  424. %
  425. %\font\preloaded=cmss10 % sans serif
  426. %\font\preloaded=cmssq8
  427. %
  428. %\font\preloaded=cmssi10 % sans serif italic
  429. %\font\preloaded=cmssqi8
  430. %
  431. %\font\tenbf=cmbx10 % boldface extended
  432. %\font\preloaded=cmbx9
  433. %\font\preloaded=cmbx8
  434. %\font\sevenbf=cmbx7
  435. %\font\preloaded=cmbx6
  436. %\font\fivebf=cmbx5
  437. %
  438. %\font\tentt=cmtt10 % typewriter
  439. %\font\preloaded=cmtt9
  440. %\font\preloaded=cmtt8
  441. %
  442. %\font\preloaded=cmsltt10 % slanted typewriter
  443. %
  444. %\font\tensl=cmsl10 % slanted roman
  445. %\font\preloaded=cmsl9
  446. %\font\preloaded=cmsl8
  447. %
  448. %\font\tenit=cmti10 % text italic
  449. %\font\preloaded=cmti9
  450. %\font\preloaded=cmti8
  451. %\font\preloaded=cmti7
  452. %
  453. %\message{more fonts,}
  454. %\font\preloaded=cmu10 % unslanted text italic
  455. %
  456. %\font\preloaded=cmmib10 % bold math italic
  457. %\font\preloaded=cmbsy10 % bold math symbols
  458. %
  459. %\font\preloaded=cmcsc10 % caps and small caps
  460. %
  461. %\font\preloaded=cmssbx10 % sans serif bold extended
  462. %
  463. %\font\preloaded=cmdunh10 % Dunhill style
  464. %
  465. %\font\preloaded=cmr7 scaled \magstep4 % for titles
  466. %\font\preloaded=cmtt10 scaled \magstep2
  467. %\font\preloaded=cmssbx10 scaled \magstep2
  468. %
  469. %\font\preloaded=manfnt % METAFONT logo and dragon curve and special symbols
  470. %
  471. %% Additional \preloaded fonts can be specified here.
  472. %% (And those that were \preloaded above can be eliminated.)
  473. %
  474. %\let\preloaded=\undefined % preloaded fonts must be declared anew later.
  475. %
  476. %\skewchar\teni='177 \skewchar\seveni='177 \skewchar\fivei='177
  477. %\skewchar\tensy='60 \skewchar\sevensy='60 \skewchar\fivesy='60
  478. %
  479. %\textfont0=\tenrm \scriptfont0=\sevenrm \scriptscriptfont0=\fiverm
  480. %\def\rm{\fam\z@\tenrm}
  481. %\textfont1=\teni \scriptfont1=\seveni \scriptscriptfont1=\fivei
  482. %\def\mit{\fam\@ne} \def\oldstyle{\fam\@ne\teni}
  483. %\textfont2=\tensy \scriptfont2=\sevensy \scriptscriptfont2=\fivesy
  484. %\def\cal{\fam\tw@}
  485. %\textfont3=\tenex \scriptfont3=\tenex \scriptscriptfont3=\tenex
  486. %\newfam\itfam \def\it{\fam\itfam\tenit} % \it is family 4
  487. %\textfont\itfam=\tenit
  488. %\newfam\slfam \def\sl{\fam\slfam\tensl} % \sl is family 5
  489. %\textfont\slfam=\tensl
  490. %\newfam\bffam \def\bf{\fam\bffam\tenbf} % \bf is family 6
  491. %\textfont\bffam=\tenbf \scriptfont\bffam=\sevenbf
  492. %\scriptscriptfont\bffam=\fivebf
  493. %\newfam\ttfam \def\tt{\fam\ttfam\tentt} % \tt is family 7
  494. %\textfont\ttfam=\tentt
  495.  
  496. % Macros for setting ordinary text
  497. \message{macros,}
  498.  
  499. \def\frenchspacing{\sfcode`\.\@m \sfcode`\?\@m \sfcode`\!\@m
  500.   \sfcode`\:\@m \sfcode`\;\@m \sfcode`\,\@m}
  501. \def\nonfrenchspacing{\sfcode`\.3000\sfcode`\?3000\sfcode`\!3000%
  502.   \sfcode`\:2000\sfcode`\;1500\sfcode`\,1250 }
  503.  
  504. \def\normalbaselines{\lineskip\normallineskip
  505.   \baselineskip\normalbaselineskip \lineskiplimit\normallineskiplimit}
  506.  
  507. \def\^^M{\ } % control <return> = control <space>
  508. \def\^^I{\ } % same for <tab>
  509.  
  510. \def\lq{`} \def\rq{'}
  511. \def\lbrack{[} \def\rbrack{]}
  512.  
  513. \let\endgraf=\par \let\endline=\cr
  514.  
  515. \def\space{ }
  516. \def\empty{}
  517. \def\null{\hbox{}}
  518.  
  519. \let\bgroup={ \let\egroup=}
  520.  
  521. % In \obeylines, we say `\let^^M=\par' instead of `\def^^M{\par}'
  522. % since this allows, for example, `\let\par=\cr \obeylines \halign{...'
  523. {\catcode`\^^M=\active % these lines must end with %
  524.   \gdef\obeylines{\catcode`\^^M\active \let^^M\par}%
  525.   \global\let^^M\par} % this is in case ^^M appears in a \write
  526. \def\obeyspaces{\catcode`\ \active}
  527. {\obeyspaces\global\let =\space}
  528.  
  529. \def\loop#1\repeat{\def\body{#1}\iterate}
  530. \def\iterate{\body \let\next\iterate \else\let\next\relax\fi \next}
  531. \let\repeat=\fi % this makes \loop...\if...\repeat skippable
  532.  
  533. \def\thinspace{\kern .16667em }
  534. \def\negthinspace{\kern-.16667em }
  535. \def\enspace{\kern.5em }
  536.  
  537. \def\enskip{\hskip.5em\relax}
  538. \def\quad{\hskip1em\relax}
  539. \def\qquad{\hskip2em\relax}
  540.  
  541. \def\smallskip{\vskip\smallskipamount}
  542. \def\medskip{\vskip\medskipamount}
  543. \def\bigskip{\vskip\bigskipamount}
  544.  
  545. \def\nointerlineskip{\prevdepth-1000\p@}
  546. \def\offinterlineskip{\baselineskip-1000\p@
  547.   \lineskip\z@ \lineskiplimit\maxdimen}
  548.  
  549. \def\vglue{\afterassignment\vgl@\skip@=}
  550. \def\vgl@{\par \dimen@\prevdepth \hrule height\z@
  551.   \nobreak\vskip\skip@ \prevdepth\dimen@}
  552. \def\hglue{\afterassignment\hgl@\skip@=}
  553. \def\hgl@{\leavevmode \count@\spacefactor \vrule width\z@
  554.   \nobreak\hskip\skip@ \spacefactor\count@}
  555.  
  556. \def~{\penalty\@M \ } % tie
  557. \def\slash{/\penalty\exhyphenpenalty} % a `/' that acts like a `-'
  558.  
  559. \def\break{\penalty-\@M}
  560. \def\nobreak{\penalty \@M}
  561. \def\allowbreak{\penalty \z@}
  562.  
  563. \def\filbreak{\par\vfil\penalty-200\vfilneg}
  564. \def\goodbreak{\par\penalty-500 }
  565. \def\eject{\par\break}
  566. \def\supereject{\par\penalty-\@MM}
  567.  
  568. \def\removelastskip{\ifdim\lastskip=\z@\else\vskip-\lastskip\fi}
  569. \def\smallbreak{\par\ifdim\lastskip<\smallskipamount
  570.   \removelastskip\penalty-50\smallskip\fi}
  571. \def\medbreak{\par\ifdim\lastskip<\medskipamount
  572.   \removelastskip\penalty-100\medskip\fi}
  573. \def\bigbreak{\par\ifdim\lastskip<\bigskipamount
  574.   \removelastskip\penalty-200\bigskip\fi}
  575.  
  576. % \line changed to \@@line because LaTeX redefines \line
  577. \def\@@line{\hbox to\hsize}
  578. \def\leftline#1{\@@line{#1\hss}}
  579. \def\rightline#1{\@@line{\hss#1}}
  580. \def\centerline#1{\@@line{\hss#1\hss}}
  581. % end of LaTeX \line -> \@@line change
  582.  
  583. \def\rlap#1{\hbox to\z@{#1\hss}}
  584. \def\llap#1{\hbox to\z@{\hss#1}}
  585.  
  586. \def\m@th{\mathsurround=\z@}
  587. \def\underbar#1{$\setbox\z@\hbox{#1}\dp\z@\z@
  588.   \m@th \underline{\box\z@}$}
  589.  
  590. \newbox\strutbox
  591. \setbox\strutbox=\hbox{\vrule height8.5pt depth3.5pt width\z@}
  592. \def\strut{\relax\ifmmode\copy\strutbox\else\unhcopy\strutbox\fi}
  593.  
  594. \def\hidewidth{\hskip\hideskip} % for alignment entries that can stick out
  595. \def\ialign{\everycr{}\tabskip\z@skip\halign} % initialized \halign
  596. \newcount\mscount
  597. \def\multispan#1{\omit \mscount#1
  598.   \loop\ifnum\mscount>\@ne \sp@n\repeat}
  599. \def\sp@n{\span\omit\advance\mscount\m@ne}
  600.  
  601. % LaTeX has its own tabbing environment, so PLAIN's is disabled.
  602. %
  603. %\newif\ifus@ \newif\if@cr
  604. %\newbox\tabs \newbox\tabsyet \newbox\tabsdone
  605. %
  606. %\def\cleartabs{\global\setbox\tabsyet\null \setbox\tabs\null}
  607. %\def\settabs{\setbox\tabs\null \futurelet\next\sett@b}
  608. %\let\+=\relax % in case this file is being read in twice
  609. %\def\sett@b{\ifx\next\+\let\next\relax
  610. %    \def\next{\afterassignment\s@tt@b\let\next}%
  611. %  \else\let\next\s@tcols\fi\next}
  612. %\def\s@tt@b{\let\next\relax\us@false\m@ketabbox}
  613. %\def\tabalign{\us@true\m@ketabbox} % non-\outer version of \+
  614. %\outer\def\+{\tabalign}
  615. %\def\s@tcols#1\columns{\count@#1 \dimen@\hsize
  616. %  \loop\ifnum\count@>\z@ \@nother \repeat}
  617. %\def\@nother{\dimen@ii\dimen@ \divide\dimen@ii\count@
  618. %  \setbox\tabs\hbox{\hbox to\dimen@ii{}\unhbox\tabs}%
  619. %  \advance\dimen@-\dimen@ii \advance\count@\m@ne}
  620. %
  621. %\def\m@ketabbox{\begingroup
  622. %  \global\setbox\tabsyet\copy\tabs
  623. %  \global\setbox\tabsdone\null
  624. %  \def\cr{\@crtrue\crcr\egroup\egroup
  625. %    \ifus@\unvbox\z@\lastbox\fi\endgroup
  626. %    \setbox\tabs\hbox{\unhbox\tabsyet\unhbox\tabsdone}}%
  627. %  \setbox\z@\vbox\bgroup\@crfalse
  628. %    \ialign\bgroup&\t@bbox##\t@bb@x\crcr}
  629. %
  630. %\def\t@bbox{\setbox\z@\hbox\bgroup}
  631. %\def\t@bb@x{\if@cr\egroup % now \box\z@ holds the column
  632. %  \else\hss\egroup \global\setbox\tabsyet\hbox{\unhbox\tabsyet
  633. %      \global\setbox\@ne\lastbox}% now \box\@ne holds its size
  634. %    \ifvoid\@ne\global\setbox\@ne\hbox to\wd\z@{}%
  635. %    \else\setbox\z@\hbox to\wd\@ne{\unhbox\z@}\fi
  636. %    \global\setbox\tabsdone\hbox{\box\@ne\unhbox\tabsdone}\fi
  637. %  \box\z@}
  638.  
  639. \def\hang{\hangindent\parindent}
  640. \def\textindent#1{\indent\llap{#1\enspace}\ignorespaces}
  641. \def\item{\par\hang\textindent}
  642. \def\itemitem{\par\indent \hangindent2\parindent \textindent}
  643. \def\narrower{\advance\leftskip\parindent
  644.   \advance\rightskip\parindent}
  645.  
  646. % LaTeX has its own sectioning macros
  647. %\outer\def\beginsection#1\par{\filbreak\bigskip
  648. %  \message{#1}\leftline{\bf#1}\nobreak\smallskip\vskip-\parskip
  649. %  \noindent}
  650.  
  651. \outer\def\proclaim #1. #2\par{\medbreak
  652.   \noindent{\bf#1.\enspace}{\sl#2}\par
  653.   \ifdim\lastskip<\medskipamount \removelastskip\penalty55\medskip\fi}
  654.  
  655. \def\raggedright{\rightskip\z@ plus2em \spaceskip.3333em \xspaceskip.5em }
  656. \def\ttraggedright{\tt\rightskip\z@ plus2em } % for use with \tt only
  657.  
  658. \chardef\%=`\%
  659. \chardef\&=`\&
  660. \chardef\#=`\#
  661. \chardef\$=`\$
  662. \chardef\ss="19
  663. \chardef\ae="1A
  664. \chardef\oe="1B
  665. \chardef\o="1C
  666. \chardef\AE="1D
  667. \chardef\OE="1E
  668. \chardef\O="1F
  669. \chardef\i="10 \chardef\j="11 % dotless letters
  670. \def\aa{\accent23a}
  671. \def\l{\char32l}
  672. \def\L{\leavevmode\setbox0\hbox{L}\hbox to\wd0{\hss\char32L}}
  673.  
  674. \def\leavevmode{\unhbox\voidb@x} % begins a paragraph, if necessary
  675. \def\_{\leavevmode \kern.06em \vbox{\hrule width.3em}}
  676. \def\AA{\leavevmode\setbox0\hbox{h}\dimen@\ht0\advance\dimen@-1ex%
  677.   \rlap{\raise.67\dimen@\hbox{\char'27}}A}
  678.  
  679. \def\mathhexbox#1#2#3{\leavevmode
  680.   \hbox{$\m@th \mathchar"#1#2#3$}}
  681. \def\dag{\mathhexbox279}
  682. \def\ddag{\mathhexbox27A}
  683. \def\S{\mathhexbox278}
  684. \def\P{\mathhexbox27B}
  685.  
  686. \def\oalign#1{\leavevmode\vtop{\baselineskip\z@skip \lineskip.25ex%
  687.   \ialign{##\crcr#1\crcr}}} % put characters over each other
  688. \def\ooalign{\lineskiplimit-\maxdimen \oalign}
  689.  
  690. % LaTeX change: \d, \b, \c redefined to work in a moving argument.
  691. \def\pd#1{\oalign{#1\crcr\hidewidth.\hidewidth}}
  692. \def\d{\protect\pd}
  693.  
  694. \def\pb#1{\oalign{#1\crcr\hidewidth
  695.     \vbox to.2ex{\hbox{\char22}\vss}\hidewidth}}
  696. \def\b{\protect\pb}
  697.  
  698. \def\pc#1{\setbox\z@\hbox{#1}\ifdim\ht\z@=1ex\accent24 #1%
  699.   \else{\ooalign{\hidewidth\char24\hidewidth\crcr\unhbox\z@}}\fi}
  700. \def\c{\protect\pc}
  701. % end of LaTeX change to \d, \b, \c
  702.  
  703. \def\copyright{{\ooalign{\hfil\raise.07ex\hbox{c}\hfil\crcr\mathhexbox20D}}}
  704.  
  705. % LaTeX change: \ldots is redefined to do essentially what Plain's \dots does,
  706. % so ...
  707. \def\dots{\ldots}
  708.  
  709. \def\TeX{T\kern-.1667em\lower.5ex\hbox{E}\kern-.125emX}
  710.  
  711. \def\`#1{{\accent18 #1}}
  712. \def\'#1{{\accent19 #1}}
  713. \def\v#1{{\accent20 #1}} \let\^^_=\v
  714. \def\u#1{{\accent21 #1}} \let\^^S=\u
  715. \def\=#1{{\accent22 #1}}
  716. \def\^#1{{\accent94 #1}} \let\^^D=\^
  717. \def\.#1{{\accent95 #1}}
  718. \def\H#1{{\accent"7D #1}}
  719. \def\~#1{{\accent"7E #1}}
  720. \def\"#1{{\accent"7F #1}}
  721.  
  722. % LaTeX change: Make \t work in a moving argument.
  723. \def\pt#1{{\edef\next{\the\font}\the\textfont1\accent"7F\next#1}}
  724. \def\t{\protect\pt}
  725.  
  726. \def\hrulefill{\leaders\hrule\hfill}
  727. \def\dotfill{\cleaders\hbox{$\m@th \mkern1.5mu.\mkern1.5mu$}\hfill}
  728. \def\rightarrowfill{$\m@th\mathord-\mkern-6mu%
  729.   \cleaders\hbox{$\mkern-2mu\mathord-\mkern-2mu$}\hfill
  730.   \mkern-6mu\mathord\rightarrow$}
  731. \def\leftarrowfill{$\m@th\mathord\leftarrow\mkern-6mu%
  732.   \cleaders\hbox{$\mkern-2mu\mathord-\mkern-2mu$}\hfill
  733.   \mkern-6mu\mathord-$}
  734. \mathchardef\braceld="37A \mathchardef\bracerd="37B
  735. \mathchardef\bracelu="37C \mathchardef\braceru="37D
  736. \def\downbracefill{$\m@th\braceld\leaders\vrule\hfill\braceru
  737.   \bracelu\leaders\vrule\hfill\bracerd$}
  738. \def\upbracefill{$\m@th\bracelu\leaders\vrule\hfill\bracerd
  739.   \braceld\leaders\vrule\hfill\braceru$}
  740.  
  741. % LaTeX change: \bye is eliminated.
  742. %\outer\def\bye{\par\vfill\supereject\end}
  743.  
  744. % Macros for math setting
  745. \message{math definitions,}
  746.  
  747. \let\sp=^ \let\sb=_
  748. \def\,{\mskip\thinmuskip}
  749. \def\>{\mskip\medmuskip}
  750. \def\;{\mskip\thickmuskip}
  751. \def\!{\mskip-\thinmuskip}
  752. \def\*{\discretionary{\thinspace\the\textfont2\char2}{}{}}
  753. {\catcode`\'=\active \gdef'{^\bgroup\prim@s}}
  754. \def\prim@s{\prime\futurelet\next\pr@m@s}
  755. \def\pr@m@s{\ifx'\next\let\next\pr@@@s \else\ifx^\next\let\next\pr@@@t
  756.   \else\let\next\egroup\fi\fi \next}
  757. \def\pr@@@s#1{\prim@s} \def\pr@@@t#1#2{#2\egroup}
  758. {\catcode`\^^Z=\active \gdef^^Z{\not=}} % ^^Z is like \ne in math
  759. {\catcode`\_=\active \let_=\_} % _ is like \_ if not used for subscripts
  760.  
  761. \mathchardef\alpha="010B
  762. \mathchardef\beta="010C
  763. \mathchardef\gamma="010D
  764. \mathchardef\delta="010E
  765. \mathchardef\epsilon="010F
  766. \mathchardef\zeta="0110
  767. \mathchardef\eta="0111
  768. \mathchardef\theta="0112
  769. \mathchardef\iota="0113
  770. \mathchardef\kappa="0114
  771. \mathchardef\lambda="0115
  772. \mathchardef\mu="0116
  773. \mathchardef\nu="0117
  774. \mathchardef\xi="0118
  775. \mathchardef\pi="0119
  776. \mathchardef\rho="011A
  777. \mathchardef\sigma="011B
  778. \mathchardef\tau="011C
  779. \mathchardef\upsilon="011D
  780. \mathchardef\phi="011E
  781. \mathchardef\chi="011F
  782. \mathchardef\psi="0120
  783. \mathchardef\omega="0121
  784. \mathchardef\varepsilon="0122
  785. \mathchardef\vartheta="0123
  786. \mathchardef\varpi="0124
  787. \mathchardef\varrho="0125
  788. \mathchardef\varsigma="0126
  789. \mathchardef\varphi="0127
  790. \mathchardef\Gamma="7000
  791. \mathchardef\Delta="7001
  792. \mathchardef\Theta="7002
  793. \mathchardef\Lambda="7003
  794. \mathchardef\Xi="7004
  795. \mathchardef\Pi="7005
  796. \mathchardef\Sigma="7006
  797. \mathchardef\Upsilon="7007
  798. \mathchardef\Phi="7008
  799. \mathchardef\Psi="7009
  800. \mathchardef\Omega="700A
  801.  
  802. \mathchardef\aleph="0240
  803. \def\hbar{{\mathchar'26\mkern-9muh}}
  804. \mathchardef\imath="017B
  805. \mathchardef\jmath="017C
  806. \mathchardef\ell="0160
  807. \mathchardef\wp="017D
  808. \mathchardef\Re="023C
  809. \mathchardef\Im="023D
  810. \mathchardef\partial="0140
  811. \mathchardef\infty="0231
  812. \mathchardef\prime="0230
  813. \mathchardef\emptyset="023B
  814. \mathchardef\nabla="0272
  815. \def\surd{{\mathchar"1270}}
  816. \mathchardef\top="023E
  817. \mathchardef\bot="023F
  818. \def\angle{{\vbox{\ialign{$\m@th\scriptstyle##$\crcr
  819.       \not\mathrel{\mkern14mu}\crcr
  820.       \noalign{\nointerlineskip}
  821.       \mkern2.5mu\leaders\hrule height.34pt\hfill\mkern2.5mu\crcr}}}}
  822. \mathchardef\triangle="0234
  823. \mathchardef\forall="0238
  824. \mathchardef\exists="0239
  825. \mathchardef\neg="023A \let\lnot=\neg
  826. \mathchardef\flat="015B
  827. \mathchardef\natural="015C
  828. \mathchardef\sharp="015D
  829. \mathchardef\clubsuit="027C
  830. \mathchardef\diamondsuit="027D
  831. \mathchardef\heartsuit="027E
  832. \mathchardef\spadesuit="027F
  833.  
  834. \mathchardef\coprod="1360
  835. \mathchardef\bigvee="1357
  836. \mathchardef\bigwedge="1356
  837. \mathchardef\biguplus="1355
  838. \mathchardef\bigcap="1354
  839. \mathchardef\bigcup="1353
  840. \mathchardef\intop="1352 \def\int{\intop\nolimits}
  841. \mathchardef\prod="1351
  842. \mathchardef\sum="1350
  843. \mathchardef\bigotimes="134E
  844. \mathchardef\bigoplus="134C
  845. \mathchardef\bigodot="134A
  846. \mathchardef\ointop="1348 \def\oint{\ointop\nolimits}
  847. \mathchardef\bigsqcup="1346
  848. \mathchardef\smallint="1273
  849.  
  850. \mathchardef\triangleleft="212F
  851. \mathchardef\triangleright="212E
  852. \mathchardef\bigtriangleup="2234
  853. \mathchardef\bigtriangledown="2235
  854. \mathchardef\wedge="225E \let\land=\wedge
  855. \mathchardef\vee="225F \let\lor=\vee
  856. \mathchardef\cap="225C
  857. \mathchardef\cup="225B
  858. \mathchardef\ddagger="227A
  859. \mathchardef\dagger="2279
  860. \mathchardef\sqcap="2275
  861. \mathchardef\sqcup="2274
  862. \mathchardef\uplus="225D
  863. \mathchardef\amalg="2271
  864. \mathchardef\diamond="2205
  865. \mathchardef\bullet="220F
  866. \mathchardef\wr="226F
  867. \mathchardef\div="2204
  868. \mathchardef\odot="220C
  869. \mathchardef\oslash="220B
  870. \mathchardef\otimes="220A
  871. \mathchardef\ominus="2209
  872. \mathchardef\oplus="2208
  873. \mathchardef\mp="2207
  874. \mathchardef\pm="2206
  875. \mathchardef\circ="220E
  876. \mathchardef\bigcirc="220D
  877. \mathchardef\setminus="226E % for set difference A\setminus B
  878. \mathchardef\cdot="2201
  879. \mathchardef\ast="2203
  880. \mathchardef\times="2202
  881. \mathchardef\star="213F
  882.  
  883. \mathchardef\propto="322F
  884. \mathchardef\sqsubseteq="3276
  885. \mathchardef\sqsupseteq="3277
  886. \mathchardef\parallel="326B
  887. \mathchardef\mid="326A
  888. \mathchardef\dashv="3261
  889. \mathchardef\vdash="3260
  890. \mathchardef\nearrow="3225
  891. \mathchardef\searrow="3226
  892. \mathchardef\nwarrow="322D
  893. \mathchardef\swarrow="322E
  894. \mathchardef\Leftrightarrow="322C
  895. \mathchardef\Leftarrow="3228
  896. \mathchardef\Rightarrow="3229
  897. \def\neq{\not=} \let\ne=\neq
  898. \mathchardef\leq="3214 \let\le=\leq
  899. \mathchardef\geq="3215 \let\ge=\geq
  900. \mathchardef\succ="321F
  901. \mathchardef\prec="321E
  902. \mathchardef\approx="3219
  903. \mathchardef\succeq="3217
  904. \mathchardef\preceq="3216
  905. \mathchardef\supset="321B
  906. \mathchardef\subset="321A
  907. \mathchardef\supseteq="3213
  908. \mathchardef\subseteq="3212
  909. \mathchardef\in="3232
  910. \mathchardef\ni="3233 \let\owns=\ni
  911. \mathchardef\gg="321D
  912. \mathchardef\ll="321C
  913. \mathchardef\not="3236
  914. \mathchardef\leftrightarrow="3224
  915. \mathchardef\leftarrow="3220 \let\gets=\leftarrow
  916. \mathchardef\rightarrow="3221 \let\to=\rightarrow
  917. \mathchardef\mapstochar="3237 \def\mapsto{\mapstochar\rightarrow}
  918. \mathchardef\sim="3218
  919. \mathchardef\simeq="3227
  920. \mathchardef\perp="323F
  921. \mathchardef\equiv="3211
  922. \mathchardef\asymp="3210
  923. \mathchardef\smile="315E
  924. \mathchardef\frown="315F
  925. \mathchardef\leftharpoonup="3128
  926. \mathchardef\leftharpoondown="3129
  927. \mathchardef\rightharpoonup="312A
  928. \mathchardef\rightharpoondown="312B
  929.  
  930. \def\joinrel{\mathrel{\mkern-3mu}}
  931. \def\relbar{\mathrel{\smash-}} % \smash, because - has the same height as +
  932. \def\Relbar{\mathrel=}
  933. \mathchardef\lhook="312C \def\hookrightarrow{\lhook\joinrel\rightarrow}
  934. \mathchardef\rhook="312D \def\hookleftarrow{\leftarrow\joinrel\rhook}
  935. \def\bowtie{\mathrel\triangleright\joinrel\mathrel\triangleleft}
  936. \def\models{\mathrel|\joinrel=}
  937. \def\Longrightarrow{\Relbar\joinrel\Rightarrow}
  938.  
  939. % LaTeX Change: \longrightarrow and \longleftarrow redefined to make
  940. %   then robust.
  941. \def\longrightarrow{\protect\@lra}
  942.   \def\@lra{\relbar\joinrel\rightarrow}
  943. \def\longleftarrow{\protect\@lla}
  944.    \def\@lla{\leftarrow\joinrel\relbar}
  945. % End of LaTeX change to \longrightarrow and \longleftarrow
  946.  
  947. \def\Longleftarrow{\Leftarrow\joinrel\Relbar}
  948. \def\longmapsto{\mapstochar\longrightarrow}
  949. \def\longleftrightarrow{\leftarrow\joinrel\rightarrow}
  950. \def\Longleftrightarrow{\Leftarrow\joinrel\Rightarrow}
  951. \def\iff{\;\Longleftrightarrow\;}
  952.  
  953. \mathchardef\ldotp="602E % ldot as a punctuation mark
  954. \mathchardef\cdotp="6201 % cdot as a punctuation mark
  955. \mathchardef\colon="603A % colon as a punctuation mark
  956.  
  957. % LaTeX change: make \ldots work outside math mode too.
  958. \def\@ldots{\mathinner{\ldotp\ldotp\ldotp}}
  959. \def\ldots{\protect\pldots}
  960. \def\pldots{\relax\ifmmode\@ldots\else\mbox{$\@ldots\,$}\fi}
  961. % End of LaTeX change to \ldots
  962.  
  963. \def\cdots{\mathinner{\cdotp\cdotp\cdotp}}
  964. \def\vdots{\vbox{\baselineskip4\p@ \lineskiplimit\z@
  965.     \kern6\p@\hbox{.}\hbox{.}\hbox{.}}}
  966. \def\ddots{\mathinner{\mkern1mu\raise7\p@\vbox{\kern7\p@\hbox{.}}\mkern2mu
  967.     \raise4\p@\hbox{.}\mkern2mu\raise\p@\hbox{.}\mkern1mu}}
  968.  
  969. \def\acute{\mathaccent"7013 }
  970. \def\grave{\mathaccent"7012 }
  971. \def\ddot{\mathaccent"707F }
  972. \def\tilde{\mathaccent"707E }
  973. \def\bar{\mathaccent"7016 }
  974. \def\breve{\mathaccent"7015 }
  975. \def\check{\mathaccent"7014 }
  976. \def\hat{\mathaccent"705E }
  977. \def\vec{\mathaccent"017E }
  978. \def\dot{\mathaccent"705F }
  979. \def\widetilde{\mathaccent"0365 }
  980. \def\widehat{\mathaccent"0362 }
  981. \def\overrightarrow#1{\vbox{\ialign{##\crcr
  982.       \rightarrowfill\crcr\noalign{\kern-\p@\nointerlineskip}
  983.       $\hfil\displaystyle{#1}\hfil$\crcr}}}
  984. \def\overleftarrow#1{\vbox{\ialign{##\crcr
  985.       \leftarrowfill\crcr\noalign{\kern-\p@\nointerlineskip}
  986.       $\hfil\displaystyle{#1}\hfil$\crcr}}}
  987. \def\overbrace#1{\mathop{\vbox{\ialign{##\crcr\noalign{\kern3\p@}
  988.       \downbracefill\crcr\noalign{\kern3\p@\nointerlineskip}
  989.       $\hfil\displaystyle{#1}\hfil$\crcr}}}\limits}
  990. \def\underbrace#1{\mathop{\vtop{\ialign{##\crcr
  991.       $\hfil\displaystyle{#1}\hfil$\crcr\noalign{\kern3\p@\nointerlineskip}
  992.       \upbracefill\crcr\noalign{\kern3\p@}}}}\limits}
  993. \def\skew#1#2#3{{#2{#3\mkern#1mu}\mkern-#1mu}{}}
  994.  
  995. \def\lmoustache{\delimiter"4000340 } % top from (, bottom from )
  996. \def\rmoustache{\delimiter"5000341 } % top from ), bottom from (
  997. \def\lgroup{\delimiter"400033A } % extensible ( with sharper tips
  998. \def\rgroup{\delimiter"500033B } % extensible ) with sharper tips
  999. \def\arrowvert{\delimiter"33C } % arrow without arrowheads
  1000. \def\Arrowvert{\delimiter"33D } % double arrow without arrowheads
  1001. \def\bracevert{\delimiter"33E } % the vertical bar that extends braces
  1002. \def\Vert{\delimiter"26B30D } \let\|=\Vert
  1003. \def\vert{\delimiter"26A30C }
  1004. \def\uparrow{\delimiter"3222378 }
  1005. \def\downarrow{\delimiter"3223379 }
  1006. \def\updownarrow{\delimiter"326C33F }
  1007. \def\Uparrow{\delimiter"322A37E }
  1008. \def\Downarrow{\delimiter"322B37F }
  1009. \def\Updownarrow{\delimiter"326D377 }
  1010. \def\backslash{\delimiter"26E30F } % for double coset G\backslash H
  1011. \def\rangle{\delimiter"526930B }
  1012. \def\langle{\delimiter"426830A }
  1013. \def\rbrace{\delimiter"5267309 } \let\}=\rbrace
  1014. \def\lbrace{\delimiter"4266308 } \let\{=\lbrace
  1015. \def\rceil{\delimiter"5265307 }
  1016. \def\lceil{\delimiter"4264306 }
  1017. \def\rfloor{\delimiter"5263305 }
  1018. \def\lfloor{\delimiter"4262304 }
  1019.  
  1020. \def\bigl{\mathopen\big}
  1021. \def\bigm{\mathrel\big}
  1022. \def\bigr{\mathclose\big}
  1023. \def\Bigl{\mathopen\Big}
  1024. \def\Bigm{\mathrel\Big}
  1025. \def\Bigr{\mathclose\Big}
  1026. \def\biggl{\mathopen\bigg}
  1027. \def\biggm{\mathrel\bigg}
  1028. \def\biggr{\mathclose\bigg}
  1029. \def\Biggl{\mathopen\Bigg}
  1030. \def\Biggm{\mathrel\Bigg}
  1031. \def\Biggr{\mathclose\Bigg}
  1032. \def\big#1{{\hbox{$\left#1\vbox to8.5\p@{}\right.\n@space$}}}
  1033. \def\Big#1{{\hbox{$\left#1\vbox to11.5\p@{}\right.\n@space$}}}
  1034. \def\bigg#1{{\hbox{$\left#1\vbox to14.5\p@{}\right.\n@space$}}}
  1035. \def\Bigg#1{{\hbox{$\left#1\vbox to17.5\p@{}\right.\n@space$}}}
  1036. \def\n@space{\nulldelimiterspace\z@ \m@th}
  1037.  
  1038. \def\choose{\atopwithdelims()}
  1039. \def\brack{\atopwithdelims[]}
  1040. \def\brace{\atopwithdelims\{\}}
  1041.  
  1042. \def\sqrt{\radical"270370 }
  1043.  
  1044. \def\mathpalette#1#2{\mathchoice{#1\displaystyle{#2}}%
  1045.   {#1\textstyle{#2}}{#1\scriptstyle{#2}}{#1\scriptscriptstyle{#2}}}
  1046. \newbox\rootbox
  1047. \def\root#1\of{\setbox\rootbox\hbox{$\m@th\scriptscriptstyle{#1}$}
  1048.   \mathpalette\r@@t}
  1049. \def\r@@t#1#2{\setbox\z@\hbox{$\m@th#1\sqrt{#2}$}
  1050.   \dimen@\ht\z@ \advance\dimen@-\dp\z@
  1051.   \mkern5mu\raise.6\dimen@\copy\rootbox \mkern-10mu \box\z@}
  1052. \newif\ifv@ \newif\ifh@
  1053. \def\vphantom{\v@true\h@false\ph@nt}
  1054. \def\hphantom{\v@false\h@true\ph@nt}
  1055. \def\phantom{\v@true\h@true\ph@nt}
  1056. \def\ph@nt{\ifmmode\def\next{\mathpalette\mathph@nt}%
  1057.   \else\let\next\makeph@nt\fi\next}
  1058. \def\makeph@nt#1{\setbox\z@\hbox{#1}\finph@nt}
  1059. \def\mathph@nt#1#2{\setbox\z@\hbox{$\m@th#1{#2}$}\finph@nt}
  1060. \def\finph@nt{\setbox\tw@\null
  1061.   \ifv@ \ht\tw@\ht\z@ \dp\tw@\dp\z@\fi
  1062.   \ifh@ \wd\tw@\wd\z@\fi \box\tw@}
  1063. \def\mathstrut{\vphantom(}
  1064. \def\smash{\relax % \relax, in case this comes first in \halign
  1065.   \ifmmode\def\next{\mathpalette\mathsm@sh}\else\let\next\makesm@sh
  1066.   \fi\next}
  1067. \def\makesm@sh#1{\setbox\z@\hbox{#1}\finsm@sh}
  1068. \def\mathsm@sh#1#2{\setbox\z@\hbox{$\m@th#1{#2}$}\finsm@sh}
  1069. \def\finsm@sh{\ht\z@\z@ \dp\z@\z@ \box\z@}
  1070.  
  1071. \def\cong{\mathrel{\mathpalette\@vereq\sim}} % congruence sign
  1072. \def\@vereq#1#2{\lower.5\p@\vbox{\baselineskip\z@skip\lineskip-.5\p@
  1073.     \ialign{$\m@th#1\hfil##\hfil$\crcr#2\crcr=\crcr}}}
  1074. \def\notin{\mathrel{\mathpalette\c@ncel\in}}
  1075. \def\c@ncel#1#2{\ooalign{$\hfil#1\mkern1mu/\hfil$\crcr$#1#2$}}
  1076. \def\rightleftharpoons{\mathrel{\mathpalette\rlh@{}}}
  1077. \def\rlh@#1{\vcenter{\hbox{\ooalign{\raise2pt
  1078.           \hbox{$#1\rightharpoonup$}\crcr
  1079.         $#1\leftharpoondown$}}}}
  1080. \def\buildrel#1\over#2{\mathrel{\mathop{\kern\z@#2}\limits^{#1}}}
  1081. \def\doteq{\buildrel\textstyle.\over=}
  1082.  
  1083. \def\log{\mathop{\rm log}\nolimits}
  1084. \def\lg{\mathop{\rm lg}\nolimits}
  1085. \def\ln{\mathop{\rm ln}\nolimits}
  1086. \def\lim{\mathop{\rm lim}}
  1087. \def\limsup{\mathop{\rm lim\,sup}}
  1088. \def\liminf{\mathop{\rm lim\,inf}}
  1089. \def\sin{\mathop{\rm sin}\nolimits}
  1090. \def\arcsin{\mathop{\rm arcsin}\nolimits}
  1091. \def\sinh{\mathop{\rm sinh}\nolimits}
  1092. \def\cos{\mathop{\rm cos}\nolimits}
  1093. \def\arccos{\mathop{\rm arccos}\nolimits}
  1094. \def\cosh{\mathop{\rm cosh}\nolimits}
  1095. \def\tan{\mathop{\rm tan}\nolimits}
  1096. \def\arctan{\mathop{\rm arctan}\nolimits}
  1097. \def\tanh{\mathop{\rm tanh}\nolimits}
  1098. \def\cot{\mathop{\rm cot}\nolimits}
  1099. \def\coth{\mathop{\rm coth}\nolimits}
  1100. \def\sec{\mathop{\rm sec}\nolimits}
  1101. \def\csc{\mathop{\rm csc}\nolimits}
  1102. \def\max{\mathop{\rm max}}
  1103. \def\min{\mathop{\rm min}}
  1104. \def\sup{\mathop{\rm sup}}
  1105. \def\inf{\mathop{\rm inf}}
  1106. \def\arg{\mathop{\rm arg}\nolimits}
  1107. \def\ker{\mathop{\rm ker}\nolimits}
  1108. \def\dim{\mathop{\rm dim}\nolimits}
  1109. \def\hom{\mathop{\rm hom}\nolimits}
  1110. \def\det{\mathop{\rm det}}
  1111. \def\exp{\mathop{\rm exp}\nolimits}
  1112. \def\Pr{\mathop{\rm Pr}}
  1113. \def\gcd{\mathop{\rm gcd}}
  1114. \def\deg{\mathop{\rm deg}\nolimits}
  1115.  
  1116. \def\bmod{\mskip-\medmuskip\mkern5mu
  1117.   \mathbin{\rm mod}\penalty900\mkern5mu\mskip-\medmuskip}
  1118. \def\pmod#1{\allowbreak\mkern18mu({\rm mod}\,\,#1)}
  1119.  
  1120. \def\cases#1{\left\{\,\vcenter{\normalbaselines\m@th
  1121.     \ialign{$##\hfil$&\quad##\hfil\crcr#1\crcr}}\right.}
  1122. \def\matrix#1{\null\,\vcenter{\normalbaselines\m@th
  1123.     \ialign{\hfil$##$\hfil&&\quad\hfil$##$\hfil\crcr
  1124.       \mathstrut\crcr\noalign{\kern-\baselineskip}
  1125.       #1\crcr\mathstrut\crcr\noalign{\kern-\baselineskip}}}\,}
  1126. \def\pmatrix#1{\left(\matrix{#1}\right)}
  1127. \newdimen\p@renwd
  1128.  
  1129. % PS-LaTeX: following command is moved after the \tenex font is defined
  1130. %  by PSLFONTS
  1131. %\setbox0=\hbox{\tenex B} \p@renwd=\wd0 % width of the big left (
  1132.  
  1133. \def\bordermatrix#1{\begingroup \m@th
  1134.   \setbox\z@\vbox{\def\cr{\crcr\noalign{\kern2\p@\global\let\cr\endline}}%
  1135.     \ialign{$##$\hfil\kern2\p@\kern\p@renwd&\thinspace\hfil$##$\hfil
  1136.       &&\quad\hfil$##$\hfil\crcr
  1137.       \omit\strut\hfil\crcr\noalign{\kern-\baselineskip}%
  1138.       #1\crcr\omit\strut\cr}}%
  1139.   \setbox\tw@\vbox{\unvcopy\z@\global\setbox\@ne\lastbox}%
  1140.   \setbox\tw@\hbox{\unhbox\@ne\unskip\global\setbox\@ne\lastbox}%
  1141.   \setbox\tw@\hbox{$\kern\wd\@ne\kern-\p@renwd\left(\kern-\wd\@ne
  1142.     \global\setbox\@ne\vbox{\box\@ne\kern2\p@}%
  1143.     \vcenter{\kern-\ht\@ne\unvbox\z@\kern-\baselineskip}\,\right)$}%
  1144.   \null\;\vbox{\kern\ht\@ne\box\tw@}\endgroup}
  1145.  
  1146. \def\openup{\afterassignment\@penup\dimen@=}
  1147. \def\@penup{\advance\lineskip\dimen@
  1148.   \advance\baselineskip\dimen@
  1149.   \advance\lineskiplimit\dimen@}
  1150.  
  1151. % LaTeX change: \eqalign eliminated, since it is replaced by the
  1152. % eqnarray environment.
  1153. %
  1154. %\def\eqalign#1{\null\,\vcenter{\openup\jot\m@th
  1155. %  \ialign{\strut\hfil$\displaystyle{##}$&$\displaystyle{{}##}$\hfil
  1156. %      \crcr#1\crcr}}\,}
  1157.  
  1158. \newif\ifdt@p
  1159. \def\displ@y{\global\dt@ptrue\openup\jot\m@th
  1160.   \everycr{\noalign{\ifdt@p \global\dt@pfalse
  1161.       \vskip-\lineskiplimit \vskip\normallineskiplimit
  1162.       \else \penalty\interdisplaylinepenalty \fi}}}
  1163. \def\@lign{\tabskip\z@skip\everycr{}} % restore inside \displ@y
  1164. \def\displaylines#1{\displ@y
  1165.   \halign{\hbox to\displaywidth{$\@lign\hfil\displaystyle##\hfil$}\crcr
  1166.     #1\crcr}}
  1167.  
  1168. % LaTeX: The following \eqalign type macros are eliminated, since
  1169. % they are replaced by the eqnarray environment.
  1170. %
  1171. %\def\eqalignno#1{\displ@y \tabskip\centering
  1172. %  \halign to\displaywidth{\hfil$\@lign\displaystyle{##}$\tabskip\z@skip
  1173. %    &$\@lign\displaystyle{{}##}$\hfil\tabskip\centering
  1174. %    &\llap{$\@lign##$}\tabskip\z@skip\crcr
  1175. %    #1\crcr}}
  1176. %\def\leqalignno#1{\displ@y \tabskip\centering
  1177. %  \halign to\displaywidth{\hfil$\@lign\displaystyle{##}$\tabskip\z@skip
  1178. %    &$\@lign\displaystyle{{}##}$\hfil\tabskip\centering
  1179. %    &\kern-\displaywidth\rlap{$\@lign##$}\tabskip\displaywidth\crcr
  1180. %    #1\crcr}}
  1181.  
  1182. % Definitions related to output
  1183.  
  1184. % LaTeX uses its own output routine
  1185. %
  1186. %\message{output routines,}
  1187. %
  1188. %\countdef\pageno=0 \pageno=1 % first page is number 1
  1189. %\newtoks\headline \headline={\hfil} % headline is normally blank
  1190. %\newtoks\footline \footline={\hss\tenrm\folio\hss}
  1191. %  % footline is normally a centered page number in font \tenrm
  1192. %\newif\ifr@ggedbottom
  1193. %\def\raggedbottom{\topskip 10\p@ plus60\p@ \r@ggedbottomtrue}
  1194. %\def\normalbottom{\topskip 10\p@ \r@ggedbottomfalse} % undoes \raggedbottom
  1195. %\def\folio{\ifnum\pageno<\z@ \romannumeral-\pageno \else\number\pageno \fi}
  1196. %\def\nopagenumbers{\footline{\hfil}} % blank out the footline
  1197. %\def\advancepageno{\ifnum\pageno<\z@ \global\advance\pageno\m@ne
  1198. %  \else\global\advance\pageno\@ne \fi} % increase |pageno|
  1199.  
  1200. % LaTeX does use the same insert for footnotes as PLAIN
  1201. \newinsert\footins
  1202.  
  1203. %\def\footnote#1{\let\@sf\empty % parameter #2 (the text) is read later
  1204. %  \ifhmode\edef\@sf{\spacefactor\the\spacefactor}\/\fi
  1205. %  #1\@sf\vfootnote{#1}}
  1206. %\def\vfootnote#1{\insert\footins\bgroup
  1207. %  \interlinepenalty\interfootnotelinepenalty
  1208. %  \splittopskip\ht\strutbox % top baseline for broken footnotes
  1209. %  \splitmaxdepth\dp\strutbox \floatingpenalty\@MM
  1210. %  \leftskip\z@skip \rightskip\z@skip \spaceskip\z@skip \xspaceskip\z@skip
  1211. %  \textindent{#1}\footstrut\futurelet\next\fo@t}
  1212. %\def\fo@t{\ifcat\bgroup\noexpand\next \let\next\f@@t
  1213. %  \else\let\next\f@t\fi \next}
  1214. %\def\f@@t{\bgroup\aftergroup\@foot\let\next}
  1215. %\def\f@t#1{#1\@foot}
  1216. %\def\@foot{\strut\egroup}
  1217. %\def\footstrut{\vbox to\splittopskip{}}
  1218.  
  1219. % LaTeX leaves these initializations for the \footins insert.
  1220. %
  1221. \skip\footins=\bigskipamount % space added when footnote is present
  1222. \count\footins=1000 % footnote magnification factor (1 to 1)
  1223. \dimen\footins=8in % maximum footnotes per page
  1224.  
  1225. %\newinsert\topins
  1226. %\newif\ifp@ge \newif\if@mid
  1227. %\def\topinsert{\@midfalse\p@gefalse\@ins}
  1228. %\def\midinsert{\@midtrue\@ins}
  1229. %\def\pageinsert{\@midfalse\p@getrue\@ins}
  1230. %\skip\topins=\z@skip % no space added when a topinsert is present
  1231. %\count\topins=1000 % magnification factor (1 to 1)
  1232. %\dimen\topins=\maxdimen % no limit per page
  1233. %\def\@ins{\par\begingroup\setbox\z@\vbox\bgroup} % start a \vbox
  1234. %\def\endinsert{\egroup % finish the \vbox
  1235. %  \if@mid \dimen@\ht\z@ \advance\dimen@\dp\z@
  1236. %    \advance\dimen@12\p@ \advance\dimen@\pagetotal
  1237. %    \ifdim\dimen@>\pagegoal\@midfalse\p@gefalse\fi\fi
  1238. %  \if@mid \bigskip\box\z@\bigbreak
  1239. %  \else\insert\topins{\penalty100 % floating insertion
  1240. %    \splittopskip\z@skip
  1241. %    \splitmaxdepth\maxdimen \floatingpenalty\z@
  1242. %    \ifp@ge \dimen@\dp\z@
  1243. %    \vbox to\vsize{\unvbox\z@\kern-\dimen@}% depth is zero
  1244. %    \else \box\z@\nobreak\bigskip\fi}\fi\endgroup}
  1245.  
  1246. %\output{\plainoutput}
  1247. %\def\plainoutput{\shipout\vbox{\makeheadline\pagebody\makefootline}%
  1248. %  \advancepageno
  1249. %  \ifnum\outputpenalty>-\@MM \else\dosupereject\fi}
  1250. %\def\pagebody{\vbox to\vsize{\boxmaxdepth\maxdepth \pagecontents}}
  1251. %\def\makeheadline{\vbox to\z@{\vskip-22.5\p@
  1252. %  \line{\vbox to8.5\p@{}\the\headline}\vss}\nointerlineskip}
  1253. %\def\makefootline{\baselineskip24\p@\line{\the\footline}}
  1254. %\def\dosupereject{\ifnum\insertpenalties>\z@ % something is being held over
  1255. %  \line{}\kern-\topskip\nobreak\vfill\supereject\fi}
  1256. %
  1257. %\def\pagecontents{\ifvoid\topins\else\unvbox\topins\fi
  1258. %  \dimen@=\dp\@cclv \unvbox\@cclv % open up \box255
  1259. %  \ifvoid\footins\else % footnote info is present
  1260. %    \vskip\skip\footins
  1261. %    \footnoterule
  1262. %    \unvbox\footins\fi
  1263. %  \ifr@ggedbottom \kern-\dimen@ \vfil \fi}
  1264.  
  1265. % LaTeX keeps PLAIN TeX's \footnoterule as the default
  1266. %
  1267. \def\footnoterule{\kern-3\p@
  1268.   \hrule width 2truein \kern 2.6\p@} % the \hrule is .4pt high
  1269.  
  1270. % Hyphenation, miscellaneous macros, and initial values for standard layout
  1271. \message{hyphenation}
  1272.  
  1273. \input hyphen
  1274.  
  1275. % \magnification doesn't work in LaTeX
  1276. %
  1277. %\def\magnification{\afterassignment\m@g\count@}
  1278. %\def\m@g{\mag\count@
  1279. %  \hsize6.5truein\vsize8.9truein\dimen\footins8truein}
  1280.  
  1281. \def\tracingall{\tracingonline\@ne\tracingcommands\tw@\tracingstats\tw@
  1282.   \tracingpages\@ne\tracingoutput\@ne\tracinglostchars\@ne
  1283.   \tracingmacros\tw@\tracingparagraphs\@ne\tracingrestores\@ne
  1284.   \showboxbreadth\maxdimen\showboxdepth\maxdimen\errorstopmode}
  1285.  
  1286. \def\showhyphens#1{\setbox0\vbox{\parfillskip\z@skip\hsize\maxdimen\tenrm
  1287.   \pretolerance\m@ne\tolerance\m@ne\hbadness0\showboxdepth0\ #1}}
  1288.  
  1289. % input LaTeX fonts and commands
  1290.  
  1291. \input ps-lfonts
  1292. \input ps-latex
  1293.  
  1294. % LaTeX change: moved from above.
  1295. \setbox0=\hbox{\tenex B} \p@renwd=\wd0 % width of the big left (
  1296.  
  1297. % LaTeX: default values
  1298. \normalbaselines
  1299. % LaTeX: select 10pt font size and \rm style
  1300. \xpt
  1301.  
  1302. \nonfrenchspacing % punctuation affects the spacing
  1303. \catcode`@=12 % at signs are no longer letters
  1304.  
  1305. % PS-LaTeX: File called PSLPLAIN
  1306. \def\fmtname{pslplain}
  1307. \def\fmtversion{2.09PS-19-Sep-1988} % identifies the current format
  1308. \typeout{Input any local modifications here.}
  1309.